package com.peng.ivos.vehicle.service;

import com.peng.ivos.base.response.JsonResult;
import com.peng.ivos.base.response.PageData;
import com.peng.ivos.vehicle.pojo.dto.VehicleQuery;
import com.peng.ivos.vehicle.pojo.dto.VehicleRepairSaveParam;
import com.peng.ivos.vehicle.pojo.dto.VehicleSaveParam;

/**
 * 车辆管理业务层接口
 * @author： Peng
 * @date： 2024/5/22
 * @version: 1.0
 */
public interface VehicleService {
    JsonResult getVehicleList(VehicleQuery vehicleQuery);

    JsonResult saveVehicle(VehicleSaveParam vehicleSaveParam);

    JsonResult deleteVehicle(Long id);

    JsonResult updateVehicle(Long id, VehicleSaveParam vehicleSaveParam);

    JsonResult removeBindVehicle(Long vehicleId);

    JsonResult addBindVehicle(Long bindId, Long vehicleId);

    JsonResult getVehicleListWithAvailable(Long id);

    JsonResult getRepairCarListByPage(VehicleQuery vehicleQuery);

    JsonResult getAllVehicleLicense();

    JsonResult saveRepairVehicle(VehicleRepairSaveParam vehicleRepairSaveParam);

    JsonResult getRepairCarByRepairId(String repairId);

    JsonResult deleteRepairVehicle(Long repairId);
}
